import Vue from 'vue'
import Router from 'vue-router'
import Main from '../views/main.vue'
/**
 * 子页面
 */
import swiperEdit from '../views/swiperEdit.vue'
import swiperList from '../views/swiperList.vue'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Main',
      component: Main,
      children:[
        { path: '/swiperEdit/create', component: swiperEdit},
        { path: '/swiperList/list', component: swiperList}
      ]
    }
  ]
})
